﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/pages/ASM.Master" AutoEventWireup="true"
    CodeBehind="RicercaPratica.aspx.cs" Inherits="Com.AlbLab.CR.Web.pages.RicercaPratica" %>
<%@ Register Assembly="AjaxControlToolkit, Version=1.0.20229.20821, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"
    Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/controls/GrigliaGenerica.ascx" TagName="GrigliaGenerica" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <div class="header-panel-gray">
        <div class="header-title">
            <div class="header-text-left">
                <label>
                    Parametri di Ricerca</label>
            </div>
            <div class="header-text-right">
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/asm/images/buttons/search.gif"
                    OnClick="ImageButton1_Click" />
            </div>
        </div>
    </div>
    <div class="content-panel-gray">
        <table>
            <tr>
                <td>
                    Grossista
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                    <asp:DropDownList ID="ddlFornitore" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    Tipo
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                    <asp:DropDownList ID="ddlTipoPratica" runat="server">
                    </asp:DropDownList>
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                </td>
            </tr>
            <tr>
                <td>
                    Arrivata dal
                </td>
                <td>
                    <asp:TextBox ID="txtArrDa" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="CalendarExtender4" TargetControlID="txtArrDa" runat="server"  />
                    <asp:RegularExpressionValidator ID="VS1" runat="server" ErrorMessage="!" ControlToValidate="txtArrDa"
                        ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$"></asp:RegularExpressionValidator>
                </td>
                <td>
                    al
                </td>
                <td>
                    <asp:TextBox ID="txtArrA" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="CalendarExtender3" TargetControlID="txtArrA" runat="server"  />
                    <asp:RegularExpressionValidator ID="VS2" runat="server" ErrorMessage="!" ControlToValidate="txtArrA"
                        ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$"></asp:RegularExpressionValidator>
                </td>
            </tr>
             <tr>
                <td>
                    Inserita dal
                </td>
                <td>
                    <asp:TextBox ID="txtInsDa" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="txtInsDa" runat="server"  />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="!" ControlToValidate="txtInsDa"
                        ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$"></asp:RegularExpressionValidator>
                </td>
                <td>
                    al
                </td>
                <td>
                    <asp:TextBox ID="txtInsA" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="CalendarExtender2" TargetControlID="txtInsA" runat="server"  />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="!" ControlToValidate="txtInsA"
                        ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    cod.fis/p.iva
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtPiva" runat="server" MaxLength="16" CssClass="txt_180" Width="510px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    POD
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtPod" runat="server" MaxLength="20" CssClass="txt_180" Width="510px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    N.Pratica ASM
                </td>
                <td>
                    <asp:TextBox ID="txtPrtASM" runat="server" MaxLength="30" CssClass="txt_180" Width="510px"></asp:TextBox>
                </td>
                <td>
                    N.Pratica Distributore
                </td>
                <td>
                    <asp:TextBox ID="txtPrtDIS" runat="server" MaxLength="30" CssClass="txt_180" Width="510px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Stato pratica
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                    <asp:DropDownList ID="ddlStatoPratica" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    Ufficio di assegnazione
                </td>
                <td align="center" class="LabelBlack" style="width: 120px">
                    <asp:DropDownList ID="ddlUfficioAss" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
                         <tr>
                <td>
                    Fase con data appuntamento
                </td>
                <td>
                    <asp:TextBox ID="dtaApp" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="dtaApp_CalExt" TargetControlID="dtaApp" runat="server"  />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Fase con data richiesta documento
                </td>
                <td>
                    <asp:TextBox ID="dtaAttoRich" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="dtaAttoRich_CalExt" TargetControlID="dtaAttoRich" runat="server"  />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Fase con data sospensione
                </td>
                <td>
                    <asp:TextBox ID="dtaSosp" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="dtaSosp_CalExt" TargetControlID="dtaSosp" runat="server"  />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
        </table>
    </div>
    <div class="header-panel-gray">
        <div class="header-title">
            <div class="header-text-left">
                <label>
                    Risultati</label>
            </div>
        </div>
    </div>
    <div class="content-panel-gray">
        <asp:Panel Visible="false" runat="server" ID="C1">
            <uc1:GrigliaGenerica ID="GrigliaGenerica1" runat="server" OnSelect="GrigliaGenerica1_OnSelect"
                ViewDelete="false" ViewEdit="false" ViewSelect="True" />
        </asp:Panel>
    </div>
</asp:Content>
